Click or drag to resize

ViewPortOptions Class

Represents ViewPort options: device Width and height.
Inheritance Hierarchy

Namespace: SautinSoft.PdfVision
Assembly: SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 2024.6.20
public class ViewPortOptions

The ViewPortOptions type exposes the following members.

Public methodCode exampleViewPortOptions Initializes a new instance of the ViewPortOptions class.
Public propertyDeviceScaleFactor Gets or sets the device scale factor.
Public propertyHasTouch Gets or sets if viewport supports touch events.
Public propertyHeight Gets or sets the page height in pixels. Default: 15000.
Public propertyIsLandscape Gets or sets if viewport is in landscape mode.
Public propertyIsMobile Gets or sets whether the meta viewport tag is taken into account.
Public propertyWidth Gets or sets the width in pixels. Default: 1920.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
See Also