| 4D v18WP Is font style supported | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 WP Is font style supported 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| WP Is font style supported ( targetObj ; wpFontStyle ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| targetObj | Object |   | Range or element | |||||
| wpFontStyle | Longint |   | Font style constant | |||||
| Function result | Boolean |   | True if any part of targetObj supports wpFontStyle; False otherwise | |||||
The WP Is font style supported command returns True if the wpFontStyle style is supported by any part of the text in rangeObj.
In targetObj, you can pass:
In wpFontStyle, pass one of the following style constants from the "4D Write Pro" constant theme:
| Constant | Type | Value | Comment | 
| wk font bold | String | fontBold | Specifies thickness of text (depends on available font styles). Possible values: 
 | 
| wk font italic | String | fontItalic | Specifies italic style of text (depends on available font styles). Possible values: 
 | 
| wk text linethrough style | String | textLinethroughStyle | Specifies style of text linethrough (if any). Possible values: 
 | 
| wk text underline style | String | textUnderlineStyle | Specifies style of text underline (if any). Possible values: 
 | 
Typically, this command is provided to allow developers to implement custom interface objects, such as a pop-up menu offering style options based on the selected text.
	Product:  4D
	Theme:  4D Write Pro Language
	Number:  
        1363
        
        
        
	
	Created:  4D v15 R4
	Modified:  4D v16 R5
	
	
	4D Write Pro Reference ( 4D v18)
	
	
	
 Add a comment
Add a comment