[]
        
(Showing Draft Content)

GrapeCity.Documents.Html.ImageSettings

Class ImageSettings

Namespace
GrapeCity.Documents.Html
Assembly
GcDocs.Html.dll

The abstract base class for PngSettings and JpegSettings classes.

public abstract class ImageSettings
Inheritance
object
ImageSettings
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ImageSettings()

protected ImageSettings()

Properties

Clip

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

Note that this property is ignored if FullPage is true.

public RectangleF? Clip { get; set; }

Property Value

System.Drawing.RectangleF?

DefaultBackgroundColor

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

public Color DefaultBackgroundColor { get; set; }

Property Value

System.Drawing.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.

public bool FullPage { get; set; }

Property Value

bool
See Also

Scale

Gets or sets the scale factor. Defaults to 1.0.

public float Scale { get; set; }

Property Value

float

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.

public Size WindowSize { get; set; }

Property Value

System.Drawing.Size