Click or drag to resize

ViewPortOptions Class

Represents ViewPort options: device Width and height.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfVisionViewPortOptions

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

The ViewPortOptions type exposes the following members.

Constructors
 NameDescription
Public methodCode exampleViewPortOptions Initializes a new instance of the ViewPortOptions class.
Top
Properties
 NameDescription
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.
Top
Methods
 NameDescription
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)
Top
See Also