GdPicture.NET.14
GdPicture14 Namespace / GdViewer Class / SetRegionColor Method





In This Topic
SetRegionColor Method (GdViewer)
In This Topic
Sets the fill color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control.
Overload List
OverloadDescription
Sets the fill color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.

You can define the fill color of each highlighted region when adding regions using AddRegion(String,Int32,Int32,Int32,Int32,ForegroundMixMode,Int32) or AddRegionInches(String,Single,Single,Single,Single,ForegroundMixMode,Int32) methods. You can determine the fill color of each highlighted region using the GetRegionColor method.

Please note that you need to redraw the control using the Redraw method to immediately apply the newly defined color.

 
Sets the fill color of a highlighted region specified by its unique identifier related to the document currently displayed in the GdViewer control. These regions, if present, determines the currently defined highlighted regions on the displayed document.

You can define the fill color of each highlighted region when adding regions using AddRegion(String,Int32,Int32,Int32,Int32,ForegroundMixMode,Int32) or AddRegionInches(String,Single,Single,Single,Single,ForegroundMixMode,Int32) methods. You can determine the fill color of each highlighted region using the GetRegionColor method.

Please note that you need to redraw the control using the Redraw method to immediately apply the newly defined color.

 
See Also