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

Center align a note

Marble

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

Announcements