You are here: Start » FIL.NET » FIS.DrawStringLabels_TwoColors Method
FIS.DrawStringLabels_TwoColors Method
Draws strings (text) on an image with two colors, depending on the status of each string.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void DrawStringLabels_TwoColors ( FilNet.Image inImage, NullableRef<IList<FilNet.StringLabel?>> inLabels, FilNet.CoordinateSystem2D? inLocationAlignment, FilNet.Anchor2D inLocationAnchor, FilNet.Pixel inColorIfTrue, FilNet.Pixel inColorIfFalse, NullableRef<IList<bool?>> inConditions, FilNet.DrawingStyle inDrawingStyle, float inSize, float inOrientationAngle, bool inForceRgb, FilNet.Pixel? inBackgroundColor, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inLabels | FilNet.NullableRef<System.Collections.Generic.IList<FilNet.StringLabel?>> | { } | Default value: { }. | |
![]() | inLocationAlignment | FilNet.CoordinateSystem2D? | |||
![]() | inLocationAnchor | FilNet.Anchor2D | MiddleCenter | Default value: MiddleCenter. | |
![]() | inColorIfTrue | FilNet.Pixel | Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ) | Color corresponding to True value on inCondition input. Default value: Pixel ( X: 0.0f Y: 200.0f Z: 0.0f W: 0.0f ). | |
![]() | inColorIfFalse | FilNet.Pixel | Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ) | Color corresponding to False value on inCondition input. Default value: Pixel ( X: 200.0f Y: 0.0f Z: 0.0f W: 0.0f ). | |
![]() | inConditions | FilNet.NullableRef<System.Collections.Generic.IList<bool?>> | { } | Default value: { }. | |
![]() | inDrawingStyle | FilNet.DrawingStyle | DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f ) | Default value: DrawingStyle ( DrawingMode: HighQuality Opacity: 1.0f Thickness: 1.0f Filled: False PointShape: Nil PointSize: 1.0f ). | |
![]() | inSize | float | <10.0f, INF> | 16.0f | Height of a character in pixels. Default value: 16.0f. |
![]() | inOrientationAngle | float | 0.0f | Orientation of text in degrees. Default value: 0.0f. | |
![]() | inForceRgb | bool | True | Filter will convert monochromatic image to RGB if needed. Default value: True. | |
![]() | inBackgroundColor | FilNet.Pixel? | Color of pixels drawn on image in text row. Default value: ftl::NIL. | ||
![]() | outImage | FilNet.Image | Output image. |