Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about iOS development and PDF

Text color not set using Page_setAnnotEditTextColo

More
11 years 4 months ago - 11 years 4 months ago #8874 by bhagyashree
Text color not set using Page_setAnnotEditTextColor
Also setStrokeWidth not working
Last edit: 11 years 4 months ago by bhagyashree.
More
11 years 4 months ago #8890 by emanuele
Hi,

we are checking the issue, we'll fix it as soon as possible
More
11 years 4 months ago #8908 by bhagyashree
We are having urgent delivery so Can you please look into this issue on high priority?
More
11 years 4 months ago #8919 by emanuele
Hi,

we checked that setStrokeWidth and Page_setAnnotEditTextColor methods works correctly, can you explain what are your targets?
Can you share a pdf file with the expected results? Also the code that are you using could help to understand the issue.
More
11 years 4 months ago #8931 by bhagyashree
-(void)vFillTextBoxAnnotAtIndex:(int)index onPage:(int)pageno WithText:(NSString *)text textColor:(uint)textColor
{
cuepdf_PDFVPage *vpage = [m_view vGetPage:pageno];
if( !vpage ) return;
PDFPage *page = [vpage GetPage];
if( page )
{
[page objsStart];
PDFAnnot *txtFieldAnnot = [page annotAtIndex:index];

[txtFieldAnnot setEditText:text];

[txtFieldAnnot setStrokeColor:textColor];
[txtFieldAnnot setEditTextColor:textColor];
[txtFieldAnnot setStrokeWidth:g_Ink_Width];

[m_view vRenderSync:pageno];

[self setNeedsDisplay];
}
]

In above customized function we are calling pdf library function setEditTextColor to set color
More
11 years 4 months ago #8932 by emanuele
Hi,

unfortunately these methods work only with free text annotations.
Time to create page: 0.421 seconds
Powered by Kunena Forum