Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D Namespace / DrawingStateBlock1 Class / Create Method / Create(Factory1,RenderingParams) Method
an instance of Factory1
Optional text parameters that indicate how text should be rendered.

In This Topic
    Create(Factory1,RenderingParams) Method
    In This Topic
    Creates an DrawingStateBlock1 that can be used with the {{SaveDrawingState}} and {{RestoreDrawingState}} methods of a render target.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal factory As Factory1, _
       ByVal textRenderingParams As RenderingParams _
    ) As DrawingStateBlock1
    public static DrawingStateBlock1 Create( 
       Factory1 factory,
       RenderingParams textRenderingParams
    )

    Parameters

    factory
    an instance of Factory1
    textRenderingParams
    Optional text parameters that indicate how text should be rendered.
    See Also