Friday, May 24, 2013

Remember value after application closed


var name = Properties.Settings.Default.FileName;

//set
Properties.Settings.Default.FileName = "....";
Properties.Settings.Default.Save();

Friday, May 17, 2013

ScrollIntoView HtmlElement VC++

VARIANT varargStart;
varargStart.vt = VT_BOOL;
varargStart.boolVal = true;
pElement1->scrollIntoView(varargStart);

Friday, May 10, 2013

error C2509: 'GetEventSinkMap'

error C2509: 'GetEventSinkMap'


Add this line in .h file under protected section


DECLARE_EVENTSINK_MAP ()


Friday, May 3, 2013

Fast Web View PDF


How to Save a Fast Web View  PDF  using pdftorn

PDFDoc doc;

private void SaveFastWebViewPDF()
{
         doc = new PDFDoc(FilePath);
         doc.Save(sTempPdfPath, pdftron.SDF.SDFDoc.SaveOptions.e_linearized);
         doc.Close();
}

Followers

Link