[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.GcWicBitmapGraphics

GcWicBitmapGraphics Class

Implements a Direct2D drawing surface.

Inheritance
GcWicBitmapGraphics
Implements
Namespace: GrapeCity.Documents.Imaging.Windows
Assembly: DS.Documents.Imaging.Windows.dll
Syntax
public class GcWicBitmapGraphics : GcDXGraphics, IDisposable
Public Class GcWicBitmapGraphics
    Inherits GcDXGraphics
    Implements IDisposable

Properties

Name Description
Height

Gets the height of the image, in DIPs.

SurfaceResolution

Gets the resolution of the underlying drawing surface (pixels per inch).

WicBitmap

Gets the source GcWicBitmap.

Width

Gets the width of the image, in DIPs.

Methods

Name Description
CreateHatchBrush(HatchBrush)

Creates a GrapeCity.Documents.DX.Direct2D.BitmapBrush from a HatchBrush, can be overridden in derived class.

Dispose(bool)

Performs cleanup operations on managed and unmanaged resources.

PopTransparencyLayer()

Stops redirecting drawing operations to the transparency layer that was created by the last PushTransparencyLayer(RectangleF?, float) call.

PushTransparencyLayer(RectangleF?, float)

Adds a transparency layer to the GcWicBitmapGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer() is called.