ComponentOne Bitmap for WPF
Create(Factory,Single,Single,Single,PixelGeometry,RenderingMode) Method

C1.WPF.DX.4 Assembly > C1.Util.DX.DirectWrite Namespace > RenderingParams Class > Create Method : Create(Factory,Single,Single,Single,PixelGeometry,RenderingMode) Method
A reference to a DirectWrite factory Factory
The gamma level to be set for the new rendering parameters object.
The enhanced contrast level to be set for the new rendering parameters object.
The ClearType level to be set for the new rendering parameters object.
Represents the internal structure of a device pixel (that is, the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
A value that represents the method (for example, ClearType natural quality) for rendering glyphs.
Creates a rendering parameters object with the specified properties.
Syntax
'Declaration
 
Public Overloads Shared Function Create( _
   ByVal factory As Factory, _
   ByVal gamma As System.Single, _
   ByVal enhancedContrast As System.Single, _
   ByVal clearTypeLevel As System.Single, _
   ByVal pixelGeometry As PixelGeometry, _
   ByVal renderingMode As RenderingMode _
) As RenderingParams
public static RenderingParams Create( 
   Factory factory,
   System.float gamma,
   System.float enhancedContrast,
   System.float clearTypeLevel,
   PixelGeometry pixelGeometry,
   RenderingMode renderingMode
)

Parameters

factory
A reference to a DirectWrite factory Factory
gamma
The gamma level to be set for the new rendering parameters object.
enhancedContrast
The enhanced contrast level to be set for the new rendering parameters object.
clearTypeLevel
The ClearType level to be set for the new rendering parameters object.
pixelGeometry
Represents the internal structure of a device pixel (that is, the physical arrangement of red, green, and blue color components) that is assumed for purposes of rendering text.
renderingMode
A value that represents the method (for example, ClearType natural quality) for rendering glyphs.
See Also

Reference

RenderingParams Class
RenderingParams Members
Overload List