I'd prefer to use C# and the generated code from document reflector shows this, but I need to do it in VB.net and can't figure it out. Can someone help me by converting this into VB please?
var element =
new SectionProperties(
new PageSize(){ Width = (UInt32Value)15840U, Height = (UInt32Value)12240U, Orient = PageOrientationValues.Landscape },
new PageMargin(){ Top = 1440, Right = (UInt32Value)1440U, Bottom = 1440, Left = (UInt32Value)1440U, Header = (UInt32Value)720U, Footer = (UInt32Value)720U, Gutter = (UInt32Value)0U },
new Columns(){ Space = (UInt32Value)720U },
new DocGrid(){ LinePitch = 360 }
){ RsidRPr = new HexBinaryValue() { Value = "00C6474E"}, RsidR = new HexBinaryValue() { Value = "000655B7"}, RsidSect = new HexBinaryValue() { Value = "000655B7"} };
return element;