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

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

    Parameters

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