- Posts: 12
- 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 Android development and PDF
Can I manage my custom data?
9 years 4 months ago #11456
by netmate
Can I manage my custom data? was created by netmate
I use 3.9RC Lib...
I need to manage user information in annotation.
For example, constructor, modification date ...
Please let me know how I can manage the data.
help me!!
I need to manage user information in annotation.
For example, constructor, modification date ...
Please let me know how I can manage the data.
help me!!
9 years 4 months ago #11467
by nermeen
Replied by nermeen on topic Can I manage my custom data?
Currently you can use Annotation.GetPopupLabel() to get the author.
If you have a premium license, you can use the advanced properties to get more data about the annotation, like the creation date, modification date...etc.
For more details please check: www.radaeepdf.com/support/knowledge-base...component&kbartid=63
Our developers now are evaluating the possibility to add direct API's to get these dates,
If you have a premium license, you can use the advanced properties to get more data about the annotation, like the creation date, modification date...etc.
For more details please check: www.radaeepdf.com/support/knowledge-base...component&kbartid=63
Our developers now are evaluating the possibility to add direct API's to get these dates,
9 years 4 months ago #11479
by netmate
Replied by netmate on topic Can I manage my custom data?
I use version 3.9Rc.
Currently I can use Annotation.GetPopupLabel () to get the author.
However, it does not work with AnnotEditBox.
Returns null.
This is the code I use.
Boolean bResult = page.AddAnnotEditbox (rect, Global.textColor, 2f, 0x00FFFFFF, fsize, Global.textColor);
If (bResult) {
Annotation annot = page.GetAnnot (page.GetAnnotCount () - 1);
Annot.SetPopupLabel ( "Test Label");
String strTmp1 = annot.GetPopupLabel ();
}
* StrTmp1 is null
Can you help me?
Currently I can use Annotation.GetPopupLabel () to get the author.
However, it does not work with AnnotEditBox.
Returns null.
This is the code I use.
Boolean bResult = page.AddAnnotEditbox (rect, Global.textColor, 2f, 0x00FFFFFF, fsize, Global.textColor);
If (bResult) {
Annotation annot = page.GetAnnot (page.GetAnnotCount () - 1);
Annot.SetPopupLabel ( "Test Label");
String strTmp1 = annot.GetPopupLabel ();
}
* StrTmp1 is null
Can you help me?
9 years 4 months ago #11492
by nermeen
Replied by nermeen on topic Can I manage my custom data?
A new beta version
3.10beta2
has been published, with the below modifications.
So get/set popup label will work with AnnotEditBox, for the annotation that does not support popup label (as indicated below), and if you have a premium license, you can use the advanced properties to get more data about the annotation, www.radaeepdf.com/support/knowledge-base...component&kbartid=63 you can consult
3.10beta2
native library
- NEW interface: Annotation.GetModifyDate(); and Annotation.SetModifyDate();
-- get/set modify DateTime of Annotation.
--DateTime String object format as (D:YYYYMMDDHHmmSSOHH'mm') where:
-- YYYY is the year
--MM is the month
--DD is the day (01–31)
--HH is the hour (00–23)
-- mm is the minute (00–59)
--SS is the second (00–59)
-- O is the relationship of local time to Universal Time (UT), denoted by one of the characters +, -, or Z
--HH followed by ' is the absolute value of the offset from UT in hours (00–23)
--mm followed by ' is the absolute value of the offset from UT in minutes (00–59)
--more details see PDF-Reference-1.7 section 3.8.3
- ENHANCED Annotation.GetPopupLabel and Annotation.SetPopupLabel to meet with PDF-Reference-1.7 (Markup Annotations pages 615 to 619)
--these annotations can't add PopupWindow as child:
---Link, FreeText(Editbox added by us, not form field, popup value is in displayed edit text)
---Movie, Widget(Form Field), Sound, Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations can't get/set Popup Values:
---Link, Movie, Widget(Form Field), Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations set PopupText same as edit text:
---FreeText
So get/set popup label will work with AnnotEditBox, for the annotation that does not support popup label (as indicated below), and if you have a premium license, you can use the advanced properties to get more data about the annotation, www.radaeepdf.com/support/knowledge-base...component&kbartid=63 you can consult
3.10beta2
native library
- NEW interface: Annotation.GetModifyDate(); and Annotation.SetModifyDate();
-- get/set modify DateTime of Annotation.
--DateTime String object format as (D:YYYYMMDDHHmmSSOHH'mm') where:
-- YYYY is the year
--MM is the month
--DD is the day (01–31)
--HH is the hour (00–23)
-- mm is the minute (00–59)
--SS is the second (00–59)
-- O is the relationship of local time to Universal Time (UT), denoted by one of the characters +, -, or Z
--HH followed by ' is the absolute value of the offset from UT in hours (00–23)
--mm followed by ' is the absolute value of the offset from UT in minutes (00–59)
--more details see PDF-Reference-1.7 section 3.8.3
- ENHANCED Annotation.GetPopupLabel and Annotation.SetPopupLabel to meet with PDF-Reference-1.7 (Markup Annotations pages 615 to 619)
--these annotations can't add PopupWindow as child:
---Link, FreeText(Editbox added by us, not form field, popup value is in displayed edit text)
---Movie, Widget(Form Field), Sound, Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations can't get/set Popup Values:
---Link, Movie, Widget(Form Field), Screen, PrintMark, TrapNet, WaterMark, Popup
--these annotations set PopupText same as edit text:
---FreeText
9 years 4 months ago #11499
by netmate
Replied by netmate on topic Can I manage my custom data?
I can not find where the 3.10 version.
Linked links do not work.
Please confirm.
Linked links do not work.
Please confirm.
9 years 4 months ago #11500
by nermeen
Replied by nermeen on topic Can I manage my custom data?
You can find the mentioned version here:
www.radaeepdf.com/download/download-prev...le/66-radaeepdf-310b
www.radaeepdf.com/download/download-prev...le/66-radaeepdf-310b
Time to create page: 0.430 seconds