Thomas Hoevel wrote:
Hi!
PDFsharp 1.2 already supports settings the version to 17.
This is open source - you can change the code to allow versions beyond 17.
This should work (but you won't be able to use Acrobat 9 features without further modifications).
Do you need new features? Or is it just the version number you need?
Here's the code:
Code:
public int Version
{
get { return this.version; }
set
{
if (!CanModify)
throw new InvalidOperationException(PSSR.CannotModify);
if (value < 12 || value > 17) // TODO not really implemented
throw new ArgumentException(PSSR.InvalidVersionNumber, "value");
this.version = value;
}
}
internal int version;
Thank you verry mutch for your answer, i just need to modify the version on 17, but how i can modify this, i have introduce the pdfsharp dll in references, but when i search public int version (), i can't modify it, hel me please, thank you verry mutch.