PageOptions Class

Inherites ThreadSafeImageContainer for the page background image.

Definition

Namespace: SMath.Manager
Assembly: SMath.Manager (in SMath.Manager.dll) Version: 1.73.9126.0
C#
public class PageOptions : ThreadSafeImageContainer
Inheritance
Object    ThreadSafeImageContainer    PageOptions

Constructors

PageOptions() Default constructor of the PageOptions class.
PageOptions(PageOptions) Constructor of the PageOptions class which copies data of another class instance.
PageOptions(BackgroundImageSize, Boolean, IBitmap) Constructor of the PageOptions class taking all the required data.

Properties

Exists Determines whether the optimized image exists or not.
(Inherited from ThreadSafeImageContainer)
FullPage Determines whether background should be rendered full document page or taking margins into account.
ImageSize Size of the background image.
Size Size of the original image.
(Inherited from ThreadSafeImageContainer)

Methods

DrawImage Draws the original or optimized image on the given surface/bounds and based on the given parameter.
(Inherited from ThreadSafeImageContainer)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetImageCopy Gets a copy of the original or optimized image based on the given parameter.
(Inherited from ThreadSafeImageContainer)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
SetImage Sets the image to the current ThreadSafeImageContainer instance and performs required scaling optimizations.
(Inherited from ThreadSafeImageContainer)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

imageLock Object instance which is used for synchronization.
(Inherited from ThreadSafeImageContainer)
optimizedImage Stores optimized image.
(Inherited from ThreadSafeImageContainer)
originalImage Stores original image.
(Inherited from ThreadSafeImageContainer)

See Also