Skip to main content

FitExcelPageScaling

Version: 2.0

cete.dynamicpdf.conversion.fitexcelpagescaling

FitExcelPageScaling​

  • Namespace: ceTe.DynamicPDF.Conversion
  • Assemblies: DynamicPDF.Converter.NETFramework40.dll, DynamicPDF.Converter.NETStandard20.dll

Represents all the properties and methods that are needed to change the excel page size to fit the page

public class FitExcelPageScaling : ISerializable
Public Class FitExcelPageScaling
Implements ISerializable

Inheritance: Object → FitExcelPageScaling

Implements: ISerializable

Constructors​

FitExcelPageScaling()​

Initializes a new instance of the FitExcelPageScaling class.

public FitExcelPageScaling()
Public Sub New ()

FitExcelPageScaling(FitExcelPageScaling)​

Initializes a new instance of the FitExcelPageScaling class.

public FitExcelPageScaling(FitExcelPageScaling fitExcelPaceScaling)
Public Sub New (fitExcelPaceScaling As FitExcelPageScaling)

Parameters​

FitExcelPageScaling(Int32, Int32)​

Initializes a new instance of the FitExcelPageScaling class.

public FitExcelPageScaling(int fitToPageWide, int fitToPageTall)
Public Sub New (fitToPageWide As Integer, fitToPageTall As Integer)

Parameters​

Sets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets.

Sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.

Properties​

PagesByTall​

Returns or sets the number of pages tall the worksheet will be scaled to when it's printed. Applies only to worksheets.

public int PagesByTall { get; set; }
Public Property PagesByTall As Int32

Property Value​

Int32

PagesByWide​

Returns or sets the number of pages wide the worksheet will be scaled to when it's printed. Applies only to worksheets.

public int PagesByWide { get; set; }
Public Property PagesByWide As Int32

Property Value​

Int32

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.Conversion