Abigail's Forum Posts

  • 2 posts
  • It's indeed possible for you to import pdf and display.you can refer to the follow code to rasteredge.com/how-to/csharp-imaging/pdf-creating/:namespace RE__Test

    {

        public partial class Form1 : Form

        {

            public Form1()

            {

                InitializeComponent();

            }

            public static string FolderName = "c:/";

            private void button1_Click(object sender, EventArgs e)

            {

                string fileName = FolderName + "SampleNew.pdf";

                PDFDocument pdf = new PDFDocument(5);

                REFile.SaveDocumentFile(pdf, fileName, new PDFEncoder());//save new pdf

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yes ,there is a way to load external images NOT INTO THE ACTUAL APPLICATION but externally from a folder at runtime.you can refer to follow method:

    public static REDocument OpenDocumentFile(string filePath);

    public static REDocument OpenDocumentFile(string filePath, BaseDecoder dec);

    public static REImage OpenImageFile(string filePath);

    public static REImage OpenImageFile(string filePath, BaseDecoder dec);http://www.rasteredge.com/how-to/csharp-imaging/load-from-file/

  • 2 posts