Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
RamonHerrera@adobeforums.com #1
How to convert ASText to a C string?
I have found the opposite conversion, from char[] to ASText:
ASTextSetEncoded(target, "Convert Me!", (ASHostEncoding)PDGetHostEncoding());
TIA,
-RFH
RamonHerrera@adobeforums.com Guest
-
convert string to safe string before adding to database
Hi I am updating a site for a client who is running CF5. The update and insert queries break when the user uses inverted commas ". I currently... -
How to convert ByteArray to String?
We are using SQL Server, one of the columns is ByteArray datatype, when I tried to output it with the <cfoutput> tag, I got ' ByteArray objects... -
Convert String to Int then divide
Here is my code: <cfdirectory directory = "f:\testbed\documents\" name = "myDirectory" sort = "name ASC, size DESC"> <!--- Output the contents... -
How to convert string to float?
i want to covert a querystring to float number in asp. what function should i use? i know cint() can convert string to int but how about float? -
How to convert forma value to string
Subbu, Try... Format(!!) - Steve Schapel, Microsoft Access MVP On Tue, 22 Jul 2003 14:54:28 -0700, "subbu"... -
RamonHerrera@adobeforums.com #2
Re: How to convert ASText to a C string?
This is an even simpler way to convert from regular ASCII to ASText:
ASText titleText = ASTextNew();
ASTextSetPDText(titleText, "This was opened by using the Acrobat SDK");
-RFH
RamonHerrera@adobeforums.com Guest
-
RamonHerrera@adobeforums.com #3
Re: How to convert ASText to a C string?
ASTextSetPDText();
Dear Self:
Just replace "Set" by "Get".
Simple enough, isn't it?
-RFH
"Everything is easy, after you know how to do it" -Me
RamonHerrera@adobeforums.com Guest



Reply With Quote

