Image Viewer CP ActiveX Control

TextStyle

 

Set the text style. It include outline, filled outline, hash brush, texture brush text.

ImageViewer1.TextStyle[=Integer]


Parameter
the text style.
0 - normal
1 - outline
2 - filled outline
3 - hash brush
4 - texture brush

When set textstyle =0 , use textcolor to change the text color.

When set textstyle =1 , use SetOutlineTextBorderColor method to change the border color.

When set textstyle =2 , use SetOutlineTextBorderColor method and SetOutlineTextBackColor method to change the border and back color.

When set textstyle =3, use SetHashBrushValue method to change the style and color.

When set textstyle =4, use SetTextureBrushImage method to change the texture brush image.
 


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.TexStyle=1
ImageViewer1.SetOutlineTextBorderColor(RGB(255,0,0))