![]() |
|
Bitte drücken Sie nicht mehrfach auf "Antwort speichern".
*Ist HTML- und/oder UBB-Code aktiviert, dann können Sie HTML und/oder UBB Code in Ihrem Beitrag verwenden.
Beiträge: 701 / 0 Win10 x64 für das Textobjekt gibt es für deine Anforderung folgende Eigenschaften/Methoden: Frame/Rahmen Returns or sets the frame type of the drawing text. Sets the font size on a substring of the drawing text. Gruß Randle ------------------Randle
CATIA V5 R18, R19, R21, R27-29Hallo,
Property FrameType( ) As CatTextFrameType
Example:
This example sets the frame type of the MyText drawing text to an ellipse.
MyText.FrameType = catEllipse
Fontsize/Schriftgröße
Sub SetFontSize( long iFirst,
long inbCharacter,
double iFontSize)
Parameters:
iFirst
The first character to which the property should apply
inbCharacter
The number of characters to which the property should apply
iFontSize
The size of the font
Example:
This example sets the MyText font size to 3.5.
iFontSize = 3.5
MyText.SetFontSize 0, 0, iFontSize
Wer für nichts steht, fällt für alles!