Exemplo de Fill

HPDF.CurrentPage.SetFillColor(0, 0, 255); // Preenchimento azul

// Define um caminho quadrado
HPDF.CurrentPage.MoveTo(100, 100);
HPDF.CurrentPage.LineTo(200, 100);
HPDF.CurrentPage.LineTo(200, 200);
HPDF.CurrentPage.LineTo(100, 200);

// Preenche o quadrado e termina o caminho
HPDF.CurrentPage.Fill;

Veja Também