[]
        
(Showing Draft Content)

GrapeCity.Documents.DX.DirectWrite.Factory1

Class Factory1

Namespace
GrapeCity.Documents.DX.DirectWrite
Assembly
GcDocs.DX.Windows.dll

IDWriteFactory1

[Guid("30572f99-dac6-41db-a16e-0486307e606a")]
public class Factory1 : Factory, IDisposable, IUnknown
Inheritance
object
Factory1
Implements
System.IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

Factory1(IntPtr)

Initializes a new instance of the Factory1 class.

public Factory1(IntPtr nativePtr)

Parameters

nativePtr System.IntPtr

The native pointer.

Methods

Create(FactoryType)

Creates a new instance of the Factory1 class.

public static Factory1 Create(FactoryType factoryType)

Parameters

factoryType FactoryType

The factory type.

Returns

Factory1

CreateCustomRenderingParams1(float, float, float, float, PixelGeometry, RenderingMode)

HRESULT IDWriteFactory1::CreateCustomRenderingParams([In] float gamma,[In] float enhancedContrast,[In] float enhancedContrastGrayscale,[In] float clearTypeLevel,[In] DWRITE_PIXEL_GEOMETRY pixelGeometry,[In] DWRITE_RENDERING_MODE renderingMode,[Out] IDWriteRenderingParams1** renderingParams)

public RenderingParams1 CreateCustomRenderingParams1(float gamma, float enhancedContrast, float enhancedContrastGrayscale, float clearTypeLevel, PixelGeometry pixelGeometry, RenderingMode renderingMode)

Parameters

gamma float
enhancedContrast float
enhancedContrastGrayscale float
clearTypeLevel float
pixelGeometry PixelGeometry
renderingMode RenderingMode

Returns

RenderingParams1

GetEudcFontCollection(bool)

HRESULT IDWriteFactory1::GetEudcFontCollection([out] IDWriteFontCollection **fontCollection, BOOL checkForUpdates = FALSE)

public FontCollection GetEudcFontCollection(bool checkForUpdates = false)

Parameters

checkForUpdates bool

Returns

FontCollection

Operators

explicit operator Factory1(IntPtr)

Performs an explicit conversion from System.IntPtr to Factory1.

public static explicit operator Factory1(IntPtr nativePointer)

Parameters

nativePointer System.IntPtr

Returns

Factory1