[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.ImageSettings

ImageSettings Class

The abstract base class for PngSettings and JpegSettings classes.

Inheritance
ImageSettings
Namespace: GrapeCity.Documents.Html
Assembly: DS.Documents.Html.dll
Syntax
public abstract class ImageSettings
Public MustInherit Class ImageSettings

Constructors

Name Description
ImageSettings()

Properties

Name Description
Clip

If set, captures the specified rectangular region only (in pixels).

Note that this property is ignored if FullPage is true.

DefaultBackgroundColor

Gets or sets the background color to be used if the HTML page doesn't specify one. Defaults to White color.

FullPage

Gets or sets a value indicating whether the full HTML page should be captured. Defaults to false.

Note that if this property is true, Clip is ignored.

Scale

Gets or sets the scale factor. Defaults to 1.0.

WindowSize

Gets or sets the virtual window size, in pixels. Defaults to 800 x 600.

Note that if FullPage is true, this property defines the minimal window size.