- Posts: 20
- Thank you received: 0
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
- bhagyashree
- Topic Author
- Offline
- Junior Member
-
Less
More
11 years 4 months ago - 11 years 4 months ago #8874
by bhagyashree
Text color not set using Page_setAnnotEditTextColo was created by bhagyashree
Text color not set using Page_setAnnotEditTextColor
Also setStrokeWidth not working
Also setStrokeWidth not working
Last edit: 11 years 4 months ago by bhagyashree.
11 years 4 months ago #8890
by emanuele
Replied by emanuele on topic Text color not set using Page_setAnnotEditTextColo
Hi,
we are checking the issue, we'll fix it as soon as possible
we are checking the issue, we'll fix it as soon as possible
- bhagyashree
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
11 years 4 months ago #8908
by bhagyashree
Replied by bhagyashree on topic Text color not set using Page_setAnnotEditTextColo
We are having urgent delivery so Can you please look into this issue on high priority?
11 years 4 months ago #8919
by emanuele
Replied by emanuele on topic Text color not set using Page_setAnnotEditTextColo
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.
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.
- bhagyashree
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
11 years 4 months ago #8931
by bhagyashree
Replied by bhagyashree on topic Text color not set using Page_setAnnotEditTextColo
-(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
{
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
Time to create page: 0.421 seconds