ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.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

    Parameters

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