> On Apr 16, 2015, at 4:03 PM, Christian Schmitz 
> <[email protected]> wrote:
> 
> 
>> 
>> That odd because I get RenderDcoumentToPDFMBS to work like a charm on my 
>> end, only the RenderDcoumentToEPSMBS throws a NilObjectException
>>> 
> 
> NilObjectException?
> Where? Does it have a message?

When I run the code; (I snip the whole eps segment, webView = a HTMLViewer)

dim b as BinaryStream
dim f as folderitem
dim dlg as new SaveAsDialog

  dlg.InitialDirectory=SpecialFolder.Pictures
  dlg.SuggestedFileName="Untitled"
  dlg.Title="Export"
  dlg.Filter=epsType
  f=dlg.ShowModalWithin(winMain)

if f <> Nil then

      b=f.CreateBinaryFile("")
      b.Write webView.RenderDocumentToEPSMBS
      b.close

end if

As soon as It tries to save the eps file the NilObjectException highlights this 
line —>  b.Write webView.RenderDocumentToEPSMBS


———

Regards,

Obleo A. Beck
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to