No matter what fontname I pass in, the function always returns true. 

Is it a bug, or am I missing something?

Code:

  dim pdf as new MyDynaPDFMBS
  
  dim i as integer = 0
  dim pageCount as integer = 0
  dim rowNum as integer = 0
  
  call pdf.CreateNewPDF
  call pdf.SetPageCoords(pdf.kpcTopDown)
  
  dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 100.0)
  call tbl.SetBorderWidth(-1, -1, 1.0, 1.0, 1.0, 1.0)
  call tbl.SetGridWidth( 1.0, 1.0)
  
  Dim HasFont As Boolean = 
tbl.SetFont(-1,-1,"Rumpelstilzli",pdf.kfsRegular,true,pdf.kcp1252)  // <=== 
Returns True !


http://www.monkeybreadsoftware.net/dynapdf-dynapdftablembs-method.shtml#43
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to