private void ScnBtnTestOne_Click(object sender, EventArgs e) { scnFileNameTarget.Text = "Building Pdf..."; ClsPdfBuilder oPdf = new ClsPdfBuilder(scnDirTemp.Text); oPdf.fnc_00_Start(scnDirTarget.Text, scnFileNameSort.Text, scnMetaTitle.Text, scnMetaAutor.Text, scnMetaCreator.Text, scnMetaKeyWords.Text, scnMetaSubject.Text); oPdf.fnc_AddTitle(1, scnDocTitle.Text); oPdf.fnc_AddText(scnDocTextLorem.Text); oPdf.fnc_AddTitle(2, scnDocTitle.Text + " 2"); oPdf.fnc_AddText(scnDocTextLorem.Text); oPdf.fnc_99_End(); scnFileNameTarget.Text = oPdf.FileNameTarget; }
private void ScnBtnTestOne_Click(object sender, EventArgs e) { scnFileNameTarget.Text = "Building Pdf..."; String sImgPath = ""; ClsPdfBuilder oPdf = new ClsPdfBuilder(scnDirTemp.Text); oPdf.fnc_00_Start(scnDirTarget.Text, scnFileNameSort.Text, scnMetaTitle.Text, scnMetaAutor.Text, scnMetaCreator.Text, scnMetaKeyWords.Text, scnMetaSubject.Text); oPdf.fnc_AddTitle(1, scnDocTitle.Text); oPdf.fnc_AddText(scnDocTextLorem.Text); sImgPath = m_Dir_Resources_test + "imgPortadaMapa.jpg"; oPdf.fnc_AddImage(sImgPath, "Testudo Graeca range, author V.Niclos"); oPdf.fnc_AddText(scnDocTextLorem.Text); oPdf.fnc_99_End(); scnFileNameTarget.Text = oPdf.FileNameTarget; }