cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Center align a note

Sekar1
12-Amethyst

Center align a note

Hi,

 

I am creating a note using ProDtlnoteCreate().

But before that i want to center align the text.

With the help of ProDtlattachAlloc() and ProDtlnotedataAttachmentSet() I am able to keep the note on required position. 

status = ProTextStyleJustificationSet(text_style, PRO_TEXT_HRZJUST_CENTER);

status = ProTextStyleVertJustificationSet(text_style, PRO_VERTJUST_MIDDLE); - tried these for alignment but couldn't make out the result.

 

Let me know if there is any othet api/methods to center align the notes.

 

Thanks and regards,

Sekar

0 REPLIES 0
Top Tags