FileNameOptions Assistance

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
asaxton
Posts: 2
Joined: Wed Mar 10 2004

FileNameOptions Assistance

Post by asaxton »

I'm trying to take advantage of the FileNameOptions property of teh PDF Converter.

Using C# and the ActiveX Control.

If i set FileNameOptionsEx to 23 (NoPrompt, UseFileName and BroadcastMessages), the EndDocPost event never fires.

If i call CaptureEvents(1) i noticed that FileNameOptionsEx is getting set to 55. I'm not sure which combination is being used. The documentation says that when calling CaptureEvents(true) it will add the BroadcastMessage to the FileNameOptionsEx. I don't think this is true if it is getting set to 55.

Ultimately i want to use the AddDateTime (3000) option. If i set, FileNameOptionsEx to 3023, nothing is generated. If i set it to 3055, nothing is generated. What am i doing wrong?

Also, i was going to use the AutoImageCompression (80000000). When i set FileNameOptionsEx to 80000055, it adds the DateTime stamp to the end.

Is the documentation wrong? or am i really missing something.

Any help is greatly appreciated.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

The documentation is not wrong. The values in the documentation are in Hexadecimal, please convert these values to decimals before using them in your code.

Hope this helps.
asaxton
Posts: 2
Joined: Wed Mar 10 2004

Post by asaxton »

How do we do that in C#? We are using the ActiveX control and i have to pass in an Integer into the FileNameOptionsEx property. The FileNameOptions property is a short.
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hi,

If you are using the ActiveX interface FileNameOptionsEx should work.

If you are using the DLL interface SetFileNameOptions should work.

If this is not working please contact support@amyuni.com

Thanks.
Post Reply