• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get the start Y position from IWaxLine

Explorer ,
Mar 02, 2010 Mar 02, 2010

Copy link to clipboard

Copied

Hello Everybody..

When I enter the text in the textframe,
the text's top position is not equal to textframe's top position(startYposition).

I want to know that how to get text's top position.

I guess that

IWaxLine* waxLine  = waxIterator->GetFirstWaxLine(start);

PMReal startYPosition = waxLine->GetYPosition () - waxLine->GetLineHeight ();

but it is not true.

I use Adobe Paragraph Composer
When I use Adobe CJK Paragraph Composer the everything ok.
But, I have to use Adobe Paragraph Composer.

How can I solve this problem ?

Thank you.

TOPICS
SDK

Views

516

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 07, 2010 Mar 07, 2010

Copy link to clipboard

Copied

LATEST

.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines