API - Style

In this topic: Hide

 

Style Properties

Parameter Type Description Remarks
BaseStyleLabel; BSTR    
BorderMarginBottom; double     
BorderMarginLeft; double     
BorderMarginRight; double     
BorderMarginTop; double     
BorderSize; double     
BorderType; eStyleBorderType     
BrushColor; eColor     
BrushHatch; eStyleBrushHatch     
BrushHatchSize; long    
FontAlignment; eAlignment     
FontColor; eColor     
FontFaceName; BSTR    
FontItalics; boolean     
FontOrientation; eStyleFontOrientation     
FontPointSize; long    
FontSizeToFit; boolean     
FontUnderline; boolean     
FontWeight; eStyleFontWeight     
FontWordWrap; boolean     
FormatDecimalPlaces; long    
FormatFieldWidth; long    
FormatLeadCharacters; eStyleFormatLeadChar    
FormatSigned; boolean     
Label; BSTR    
PenColor; eColor     
PenStyle; eStylePenStyle     
PenWidth; double     
UseBorderMarginBottom; boolean     
UseBorderMarginLeft; boolean     
UseBorderMarginRight; boolean     
UseBorderMarginTop; boolean     
UseBorderType; boolean     
UseBrushColor; boolean     
UseBrushHatch; boolean     
UseFontAlignment; boolean     
UseFontColor; boolean     
UseFontFaceName; boolean     
UseFontItalics; boolean     
UseFontOrientation; boolean     
UseFontPointSize; boolean     
UseFontSizeToFit; boolean     
UseFontUnderline; boolean     
UseFontWeight; boolean     
UseFontWordWrap; boolean     
UseFormat; boolean     
UsePenColor; boolean     
UsePenStyle; boolean     
UsePenWidth; boolean     

Style Enumerators

Pen Style - eStylePenStyle

Parameters Help String Description Remarks
ePenStyleDash, Dash            
ePenStyleDashDot, Dash Dot        
ePenStyleDashDotDot Dash Dot Dot    
ePenStyleDot, Dot             
ePenStyleSolid = 1, Solid           

Brush Hatch - eStyleBrushHatch

Parameters Help String Description Remarks
eBrushHatchCross, Cross            
eBrushHatchDiagonal, Diagonal         
eBrushHatchDownDiagonal, Down Diagonal    
eBrushHatchHorizontal, Horizontal       
eBrushHatchNone = 0, None             
eBrushHatchUpDiagonal, Up Diagonal      
eBrushHatchVertical Vertical         

Border Type - eStyleBorderType

Parameters Help String Description Remarks
eBorderTypeBox, Box                      
eBorderTypeButton Button                   
eBorderTypeCircumEllipse, Circumscribed Ellipse    
eBorderTypeInscribedEllipse, Inscribed Ellipse        
eBorderTypeInvisible, Invisible                
eBorderTypeNone = 0, None                     
eBorderTypeRoundedBox, Rounded Box              
eBorderTypeShadow, Shadow                   

Font Weight - eStyleFontWeight

Parameters Help String Description Remarks
eFontWeightBold, Bold          
eFontWeightExtaBold, Extra Bold    
eFontWeightExtaThin, Extra Thin    
eFontWeightHeavy Heavy         
eFontWeightLight, Light         
eFontWeightMedium, Medium        
eFontWeightNormal, Normal        
eFontWeightSemiBold, Semi Bold     
eFontWeightThin = 1, Thin          

Alignment - eAlignment

Parameters Help String Description Remarks
eAlignmentCenter, Center    
eAlignmentLeft = 1, Left      
eAlignmentRight Right     

Font Orientation - eStyleFontOrientation

Parameters Help String Description Remarks
eFontOrientationHorizontal = 1, Horizontal        
eFontOrientationVerticalLeft, Vertical Left     
eFontOrientationVerticalRight Vertical Right    

Format Lead Character - eStyleFormatLeadChar

Parameters Help String Description Remarks
eFormatLeadCharNone = 0, None      
eFormatLeadCharSpaces, Spaces    
eFormatLeadCharZero Zero