|
-
Dec 16th, 2014, 11:54 AM
#1
Thread Starter
Member
How do I change font size for disclaimer to 9?
I would like to format the text for my disclaimer to size 9.
Here is my private function for the email body.
Code:
Private Function CreateEmail(ByVal aobjXmlInputDoc As XmlDocument, ByRef aobjSimpleType As Msc.Integration.CourtXml.Library.v4.SimpleType) As String
Dim strOri As String = aobjXmlInputDoc.DocumentElement.SelectSingleNode("Case/Court/CourtNCIC").InnerText
Dim strCounty As String = aobjSimpleType.GetCompanionEnumerationValueAssociatedValue("CourtLocationTextType", "CountyName", strOri, CourtXml.Library.v4.SimpleType.udtEnumTextCodeType.udtEnumTextCodeTypeCode, CourtXml.Library.v4.SimpleType.udtEnumTextCodeType.udtEnumTextCodeTypeText)
Dim strEmail As String = _
"<!DOCTYPE html>" + vbCrLf + _
"<html>" + vbCrLf + _
"<head>" + vbCrLf + _
"<title>Service Information</title>" + vbCrLf + _
"</head>" + vbCrLf + _
"<body>" + vbCrLf + _
"<p><b>Do not reply to this email. This email account is not monitored and any reply will not be read.</b></p>" + vbCrLf + _
"<p></p>" + vbCrLf + _
"<p>Disclaimer: This is an official government communication. As the recipient, you are responsible for the lawful use of this information. This e-mail and any attachments are intended solely for the individual or agency to which they are addressed. </p>" + vbCrLf + _
"</body>" + vbCrLf + _
"</html>"
Return strEmail
End Function
Last edited by winkimjr2; Dec 16th, 2014 at 12:11 PM.
-
Dec 16th, 2014, 12:40 PM
#2
Hyperactive Member
Re: How do I change font size for disclaimer to 9?
This really isn't a VB.Net question as the font size you want changed is in an HTML-formed e-mail message... That being said, you'd most likely use an inline CSS attribute:
Code:
"<p style="font-size:9px">Disclaimer: This is an official government communication. As the recipient, you are responsible for the lawful use of this information. This e-mail and any attachments are intended solely for the individual or agency to which they are addressed. </p>" + vbCrLf + _
-
Dec 16th, 2014, 01:31 PM
#3
Thread Starter
Member
Re: How do I change font size for disclaimer to 9?
 Originally Posted by Pyth007
This really isn't a VB.Net question as the font size you want changed is in an HTML-formed e-mail message... That being said, you'd most likely use an inline CSS attribute:
Code:
"<p style="font-size:9px">Disclaimer: This is an official government communication. As the recipient, you are responsible for the lawful use of this information. This e-mail and any attachments are intended solely for the individual or agency to which they are addressed. </p>" + vbCrLf + _
That solution worked. Thanks
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|