Click or drag to resize

CPageScale Methods

The ExcelToPdfCPageStyleCPageScale type exposes the following members.

Methods
 NameDescription
Public methodAuto Convert without any scaling.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFitByHeight Fit each Excel sheet to a one PDF page depending of the page height. Thus, either to decrease the scale or leave as is if sheet could be fitted by page height.
Public methodFitByWidth Fit each Excel sheet to a one PDF page depending of the page width. Thus, either to decrease the scale or leave as is if sheet could be fitted by page width. This is the default option.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodPercent Allows to specify page scale in percentages: from 1...10000.
Public methodScaleByHeight Make the scale the same as PDF page height. Thus, either to decrease or to increase scale.
Public methodScaleByPageBreak Convert with page break in excel document.
Public methodScaleByWidth Make the scale the same as PDF page width. Thus, either to decrease or to increase scale.
Public methodScaleToOnePage Make the scale close as possible to page size to fit the sheet into a single page. Simultaneously takes care of page width and height.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also